package com.yunmang.entity;

import java.util.List;

/**
 * Created by Administrator on 2017/5/11.
 */
public class DeliverBean {

    /**
     * code : 200
     * message : null
     * model : [{"id":9,"account":"kaifengps","password":"md5_e10adc3949ba59abbe56e057f20f883e","name":"开封派送","orgId":34,"roleId":2,"enabled":true,"createTime":"2017-02-06T13:56:35","createUser":1,"lastLoginTime":"1970-01-01T00:00:00","phone":" "}]
     */

    private int code;
    private Object message;
    /**
     * id : 9
     * account : kaifengps
     * password : md5_e10adc3949ba59abbe56e057f20f883e
     * name : 开封派送
     * orgId : 34
     * roleId : 2
     * enabled : true
     * createTime : 2017-02-06T13:56:35
     * createUser : 1
     * lastLoginTime : 1970-01-01T00:00:00
     * phone :
     */

    private List<ModelBean> model;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Object getMessage() {
        return message;
    }

    public void setMessage(Object message) {
        this.message = message;
    }

    public List<ModelBean> getModel() {
        return model;
    }

    public void setModel(List<ModelBean> model) {
        this.model = model;
    }

    public static class ModelBean {
        private int id;
        private String account;
        private String password;
        private String name;
        private int orgId;
        private int roleId;
        private boolean enabled;
        private String createTime;
        private int createUser;
        private String lastLoginTime;
        private String phone;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getAccount() {
            return account;
        }

        public void setAccount(String account) {
            this.account = account;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getOrgId() {
            return orgId;
        }

        public void setOrgId(int orgId) {
            this.orgId = orgId;
        }

        public int getRoleId() {
            return roleId;
        }

        public void setRoleId(int roleId) {
            this.roleId = roleId;
        }

        public boolean isEnabled() {
            return enabled;
        }

        public void setEnabled(boolean enabled) {
            this.enabled = enabled;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public int getCreateUser() {
            return createUser;
        }

        public void setCreateUser(int createUser) {
            this.createUser = createUser;
        }

        public String getLastLoginTime() {
            return lastLoginTime;
        }

        public void setLastLoginTime(String lastLoginTime) {
            this.lastLoginTime = lastLoginTime;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }
    }
}
